import { T_srv, Tsrv, ifs, ts, vue } from '@/services';
import {
  I_begin,
  I_end,
  I_expr,
  I_if,
  I_nodeAttrData,
  I_ruleEditor,
  I_switch
} from '../editor';
import beginNode from './comps/begin.vue';
import endNode from './comps/end.vue';
import exprNode from './comps/expr.vue';
import ifNode from './comps/if.vue';
import switchNode from './comps/switch.vue';

const nodeBtnList = [
  {
    key: 'wyRuleSave',
    type: 'button',
    // 图样式
    class: 'wy-rule-save',
    title: '修改',
    // 无效？
    disabled: true,
    // 下级分格线
    separator: false
  },
  {
    key: 'wyRuleEdit',
    type: 'button',
    // 图样式
    class: 'wy-rule-edit',
    title: '修改',
    // 无效？
    disabled: true,
    // 下级分格线
    separator: false
  },
  {
    key: 'wyRuledel',
    type: 'button',
    // 图样式
    class: 'wy-delete',
    title: '删除',
    // 无效？
    disabled: true,
    // 下级分格线
    separator: false
  }
];
export {
  I_begin,
  I_end,
  I_expr,
  I_if,
  I_nodeAttrData,
  I_ruleEditor,
  I_switch,
  T_srv,
  Tsrv,
  beginNode,
  endNode,
  exprNode,
  ifNode,
  ifs,
  nodeBtnList,
  switchNode,
  ts,
  vue
};
